package com.joycessh.service;

import com.joycessh.common.lang.Result;
import com.joycessh.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.joycessh.shiro.AccountProfile;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Joycessh
 * @since 2019-08-18
 */
public interface UserService extends IService<User> {
    Result register(User user);
    AccountProfile login(String username, String password);
}
